<script type="text/javascript" src="view/javascript/mootools.js"></script>	
<script type="text/javascript" language="javascript">
   var http_request = false;
   function makeRequest(url, parameters) {
      http_request = false;
      if (window.XMLHttpRequest) { // Mozilla, Safari,...
         http_request = new XMLHttpRequest();
         if (http_request.overrideMimeType) {
         	// set type accordingly to anticipated content type
            //http_request.overrideMimeType('text/xml');
            http_request.overrideMimeType('text/html');
         }
      } else if (window.ActiveXObject) { // IE
         try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP");
         } catch (e) {
            try {
               http_request = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (e) {}
         }
      }
      if (!http_request) {
         alert('Cannot create XMLHTTP instance');
         return false;
      }
      http_request.onreadystatechange = alertContents;
      http_request.open('GET', url + parameters, true);
      http_request.send(null);
   }

   function alertContents() {
      if (http_request.readyState == 4) {
         if (http_request.status == 200) {
            //alert(http_request.responseText);
            result = http_request.responseText;
            document.getElementById('log_res').innerHTML = result;            
         } else {
            alert('There was a problem with the request.');
         }
      }
   }
   
</script>


<div id="content">
  <div class="top1">
  <div class="left"></div>
  <div class="right"></div>
  <div class="center">
 <div class="heading"><?php echo $item['tieu_de']; ?></div>
  </div>
</div>
<div class="middle">
               <form id="whois" action="index.php?module=dichvu&act=whois" method="post" >
				<div id="domain">
				<fieldset>
				<legend><?php echo kttm;?></legend>
					<h2 style="margin-left:10px;"></h2>
					<div class="l1">		    
						<span style="font-size:18px;">www.</span><input type="text" name="domain" value = "<?php echo $_POST['domain'];?>" class="input"/> 
						<p align="center" style="font-size:14px;">(<?php echo exam; ?>)</p>
					</div>
				<div class="l2">
					<table width="250" border="0" cellspacing="3" cellpadding="0">
						<tr>
						<?php $whois->tldList();?>
						</tr>
					</table>
		  		</div>
				<div class="r"><br />
					<input name="Submit" type="submit" value="<?php echo kt;?>" class="input" />	 
				</div>           
			</fieldset></div>	      
		</form>
<div id="log"><div id="log_res" align="center"><!-- search results --></div></div>
</div>
    <div class="bottom">
	<div class="left"></div>
	<div class="right"></div>
	<div class="center"></div>
	</div>



<!--dvdk-->
    <div class="top1">
            <div class="left"> </div>
            <div class="right"></div>
            <div class="center">
           <h1 class="heading">Kiến thức tên miền</h1>
            </div>
      </div>
      <div class="middle"> <!--start miiddlwe -->
              <table class="list_for_mem">
        <thead>
          <tr>
            <td width="1" style="text-align: center;"> <b>#</b></td>
            <td class="left">
              <a href="<?php echo $sort_country; ?>"><?php echo "Tiêu đề "; ?>
            </td>
          </tr>
        </thead>
        <tbody>
          <?php if ($list_kttm) { ?>
          <?php foreach ($list_kttm as $kttm) { ?>
          <tr>
            <td style="text-align: center;"><?php echo $s = $s+1;?></td>
            <td class="left"><a href ="index.php?module=dichvu&act=ktdomain&cat=<?php  echo $kttm['cat_id'] ?>&id=<?php echo $kttm['domain_id'];?>"><?php echo $kttm['tieu_de'];?></a></td>
          </tr>
          <?php } ?>
          <?php } else { ?>
          <tr>
            <td class="center" colspan="5"><?php echo $text_no_results; ?></td>
          </tr>
          <?php } ?>
        </tbody>
      </table>
     
       <div class="pagination"><?php echo $pagination; ?></div>
     </div> <!--end middle-->

      <div class="bottom"> <!-- bgin botom-->
          <div class="left"></div>
          <div class="right"></div>
          <div class="center"></div>
      </div><!-- end botom -->

<!--dvdk-->


 </div>
 

<!-- and main -->
